package cn.cdu.doctor.entity;

import cn.cdu.basics.baseClass.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "auto_scheduling_config")
@TableName("auto_scheduling_config")
@ApiModel(value = "自动放号配置")
public class AutoSchedulingConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "医生ID")
    private String doctorId;

    @ApiModelProperty(value = "医生姓名")
    private String doctorName;

    @ApiModelProperty(value = "每周放号日期，多个日期用逗号分隔，如：1,2,3,4,5")
    private String weekDays;

    @ApiModelProperty(value = "放号时段，0:上午 1:下午")
    private String step;

    @ApiModelProperty(value = "放号个数")
    private Integer number;

    @ApiModelProperty(value = "定时放号时间，格式：HH:mm")
    private String scheduleTime;

    @ApiModelProperty(value = "是否启用，0:禁用 1:启用")
    private Integer enabled;

    @ApiModelProperty(value = "提前放号天数")
    private Integer advanceDays;
} 